package com.javaweb.config.datasource.mysql;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * mysql数据源配置2
 * @author tank2140896
 */
@ConfigurationProperties(prefix="datasource.mysql.d2")
public record MysqlDateSource2(
	String url,
	String driverClassName,
	String username,
	String password,
	Integer initialSize,
	Integer minIdle,
	Integer maxActive,
	Boolean testWhileIdle,
	Long maxWait
){}
/**
@Getter
@Setter
@Component
@ConfigurationProperties(prefix="datasource.mysql.d2")
public class MysqlDateSource2 {
	
	private String url;
	
	private String driverClassName;
	
	private String username;
	
	private String password;
	
	private Integer initialSize;
	
	private Integer minIdle;
	
	private Integer maxActive;
	
	private Boolean testWhileIdle;
	
	private Long maxWait;

}
*/